﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace ERP.Team.ProductionSystem
{
    /// <summary>
    /// 生产任务
    /// </summary>
    public class ProductionTask:Entity<int>
    {
        /// <summary>
        /// 任务编码
        /// </summary>
        public string TaskNumber { get; set; }
        /// <summary>
        /// 任务名称
        /// </summary>
        public string TaskName { get; set; }
        /// <summary>
        /// 工作站编号
        /// </summary>
        public string WorkstationCode {  get; set; }
        /// <summary>
        /// 所属工序
        /// </summary>
        public string ProcessBelongs {  get; set; }
        /// <summary>
        /// 工作站名称
        /// </summary>
        public string WorkstationName {  get; set; }
        /// <summary>
        /// 排产数量
        /// </summary>
        public int SchedulingNumber {  get; set; }
        /// <summary>
        /// 已生产数量
        /// </summary>
        public int ProducedNumber {  get; set; }
        /// <summary>
        /// 开始生产时间
        /// </summary>
        public DateTime StartProducedTime { get; set; }
        /// <summary>
        /// 生产时长
        /// </summary>
        public decimal ProducedDuration {  get; set; }
        /// <summary>
        /// 预计完成时间
        /// </summary>
        public DateTime EstimatedCompletionTime {  get; set; }
    }
}
